package ai.gui;

import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class MazeImageDrawable implements Drawable {

	private BufferedImage image;
	
	public MazeImageDrawable(){
		try {
			image = ImageIO.read(new File("astar.bmp"));
		} catch (IOException ex) {
		}
	}
	
	@Override
	public void draw(Graphics g) {
		g.drawImage(image, -30, -98, 820, 820, null); 
	}

}
